package com.swt.testdemo.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swt.testdemo.entity.SysRoleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 
 * 
 * @author BleethNie
 *
 * @date 2020-06-16 17:58:09
 */
@Mapper
@Repository
public interface SysRoleDao extends BaseMapper<SysRoleEntity> {

    SysRoleEntity queryRoleByRoleType(@Param("roleType") String roleType);

    SysRoleEntity queryRoleById(@Param("roleId") Integer roleId);


}
